package com.tpsix.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 角色与部门对应关系
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_role_dept")
public class SysRoleDept implements Serializable {
    /**
     * 角色ID
     */
    @TableField(value = "role_id")
    private Integer roleId;

    /**
     * 部门ID
     */
    @TableField(value = "dept_id")
    private Integer deptId;

    private static final long serialVersionUID = 1L;
}